package com.pine.dcts.test;

import net.ymate.platform.plugin.AbstractPlugin;
import net.ymate.platform.plugin.annotation.Plugin;

/**
 * @author xiaoyuan
 * @create 2021/4/2 17:54
 **/
@Plugin(id = "demo_plugin",
        name = "DemoPlugin",
        author = "有理想的鱼",
        email = "suninformaiton#163.com",
        version = "1.0")
public class DemoPlugin extends AbstractPlugin implements IBusiness {

    @Override
    public void startup() throws Exception {
        super.startup();
        //
        System.out.println("started.斤斤计较斤斤计较急急急急急急");
    }

    @Override
    public void shutdown() throws Exception {
        super.shutdown();
        //
        System.out.println("shutdown.");
    }

    @Override
    public void sayHi() {
        System.out.println("Hi, from Plugin.");
    }
}
